package com.ajavaer.framework.im.tencent.request.data;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.List;

public class MultiAccountImportData implements TencentImRequestData {
    /**
     * [Y] 用户名，单个用户名长度不超过32字节，单次最多导入100个用户名
     */
    @JsonProperty("Accounts")
    private List<String> accounts = new ArrayList<>();

    public Integer size() {
        return accounts.size();
    }

    public void clear() {
        accounts.clear();
    }

    public List<String> getAccounts() {
        return accounts;
    }

    public void setAccounts(List<String> accounts) {
        this.accounts = accounts;
    }

    public void add(String account) {
        this.accounts.add(account);
    }
}
